package com.sky.api.cart;

import com.sky.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


@FeignClient(name = "sky-mall-cart")
public interface CartFeignService {

    @RequestMapping("/cart/getCartByUserId")
    R<List<String>> getCartByUserId(@RequestParam("userId") Long userId);
}
